﻿@model NaviCar.Models.LoginPessoa
@Html.ValidationSummary(true)
@using (Html.BeginForm("Login","Home")) {
    <div id="loginDv">
        <table>
            <tr>
                <td> @Html.LabelFor(m => m.Login)</td>
                <td>
                    @Html.TextBoxFor(m => m.Login)
                    @Html.ValidationMessageFor(m => m.Login)
                </td>
                <td>
                    @Html.LabelFor(m => m.Senha)
                </td>
                <td>
                    @Html.PasswordFor(m => m.Senha)
                    @Html.ValidationMessageFor(m => m.Senha)
                </td>
                <td>
                    <input type="submit" value="Entrar" />
                </td>
            </tr>
        </table>
    </div>
}
